/* 
	PROJECT: scsu-csc653-chatter
	ABOUT: functions pertaining to managing the user list
	DATE: 09-2010
	AUTHORS: skenny214@gmail.com, jinhongli08@gmail.com, hourigan.brian@gmail.com, yaqiluo2010@gmail.com
*/



//refresh the ENTIRE user lists with a list of usernames
function refreshUserList(usernames){

	//empty the current list of users
	$('#users-list').empty();
	
	//add each user as an li list item
	for (var username in usernames){
		$('#users-list').append('<li>'+usernames[username] +'</li>');		
	}
	
}
